import {doThirdServiceAction} from "@/request/lowcode/thirdService";

/**
 * 组件初始化行为
 * @param commonParam
 * @param componentCreatedParam
 */
export function doCreatedInit(commonParam, componentCreatedParam) {
    // 获取初始化任务列表
    let createdDataList = componentCreatedParam.createdData
    if (!createdDataList) {
        return;
    }
    let awaitObj = {flag: false, res: true}
    doThirdServiceAction(createdDataList, awaitObj, commonParam, ()=>{}, ()=>{}, null).then(res => {})
}